package org.ufinity.hsms.module.device.command;

import java.util.HashMap;

import org.json.JSONObject;
import org.ufinity.hsms.common.command.AbstractCommand;
import org.ufinity.hsms.common.impl.GetDateImpl;

 /**
 * @Description 获主机组列表
 * @author 钱新才
 */
public class HostCommand extends AbstractCommand<JSONObject> {
	HashMap<String, String> map;
	public HostCommand(HashMap<String, String> map) {
		this.map = map;
	}

	@Override
	public JSONObject execute() throws Exception {
		return GetDateImpl.getHost(map);
	}

}
